# #:kivy 1.8.0

<SplashScreen>:
    AnchorLayout:
        anchor_x: 'center'
        anchor_y: 'center'
        canvas:
            Color:
                rgba: 0.9, 0.9, 0.9, 1
            Rectangle:
                pos: self.pos
                size: self.size
        BoxLayout:
            padding: 0, 125
            orientation: 'vertical'
            cols: 2
            background_color: [0.7, 0.7, 2, 1]
            Label:
                markup: True
                text: 'Welcome to [b]GenCyber Camp Manager[/b]!'
                font_size: '36dp'
                color: 0.3,0.3,0.3,1
            AnchorLayout:
                Button:
                    text: 'Continue'
                    size_hint: 0.2, 0.3
                    on_press: root.manager.current = 'main'
                    background_color: [0.7, 0.7, 2, 1]

<MainScreen>:
    BoxLayout:
        orientation: 'vertical'
        cols: 2
        ActionBar:
            size_hint: 1, None
            height: '65dp'
            pos_hint: {'top':1}
            background_color: [7, 7, 7, 1]
            ActionView:
                use_separator: True
                ActionPrevious:
                    title: 'CSE-4214'
                    with_previous: False
                    app_icon: 'resources/logo.png'
                ActionOverflow:
                    overflow_image: ''
                ActionButton:
                    text: 'Btn0'
        TabbedPanel:
            pos_hint: {'center_x': .5, 'center_y': .5}
            TabbedPanelItem:
                text: 'first tab'
                Label:
                    text: 'First tab content area'
            TabbedPanelItem:
                text: 'tab2'
                BoxLayout:
                    Label:
                        text: 'Second tab content area'
                    Button:
                        text: 'Button that does nothing'
            TabbedPanelItem:
                text: 'tab3'
                BoxLayout:
                    orientation: 'vertical'
                    Button:
                        text: "bob"
                    RstDocument:
                        text: '\\n'.join(("Hello world", "-----------", "You are in the third"))
                    Button:
                        text: "bob"
